package com.triones.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 加密货币钱包
 */
@TableName(value = "tr_crypto_wallet")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class CryptoWalletDO {

    @TableId(value = "id")
    private Long id;
    /**
     * uid
     */
    private Long uid;
    /**
     * 币种
     */
    private String ccy;
    /**
     * 公链
     */
    private String chain;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 状态
     */
    private String status;
    /**
     * 创建时间
     */
    private Long createTime;
    /**
     * 修改时间
     */
    private Long updateTime;
    /**
     * address
     */
    private String address;
}
